package com.atung.service;

import java.util.List;

import com.atung.response.ResponseChangeSchool;
import com.atung.response.ResponsePagePath;

public interface SchoolPageService {

	
	/**
	 * 根据openid查询学校名
	 * @param opneId
	 * @return
	 */
	ResponseChangeSchool selectSchoolNameByOpenId(String openId) throws Exception;
	
	/**
	 * 获取学校列表
	 * @return
	 */
	List<ResponseChangeSchool>selectSchoolNameAll(String params);
	
	/**
	 * 根据出发地目的地获取路线
	 * @return
	 */
	List<ResponsePagePath>selectSchoolNameAndCity(String openId,Long schoolId, List<String> destination)throws Exception;
	
	/** 
	 * 获取路线
	 * @return
	 */
	List<ResponsePagePath>selectSchoolName(String schoolName);
	
	/**
	 * 根据城市id获取城市路线
	 * @param cityId
	 * @return
	 */
	List<ResponsePagePath>selectCityId(Long cityId);
}
